package com.strato.orm.mybatis.v1_0_0.factory;

import org.apache.ibatis.session.SqlSessionFactory;

import com.strato.base.osgi.v1_0_0.BundleUtil;
import com.strato.orm.mybatis.v1_0_0.activator.Activator;

public interface SqlSessionFactoryProvider {

	public SqlSessionFactory provide();
	
	public void reset();
	
	public static SqlSessionFactoryProvider getInstance(){
		return BundleUtil.getService(Activator.getContext(), SqlSessionFactoryProvider.class, null);
	}
}
